//
//  BombAbilityAppDelegate.m
//  BombAbility
//
//  Created by Christian on 26/02/10.
//  Copyright __My__ 2010. //


// dio can 

#import "BombAbilityAppDelegate.h"
#import "LoginViewController.h"

@implementation BombAbilityAppDelegate

@synthesize window;
@synthesize mainController;




- (void)applicationDidFinishLaunching:(UIApplication *)application {    
	
	BOOL logged = NO;
	
	NSLog(@"Creazione del Main controller");
	
	MainViewController *main = [[MainViewController alloc] initWithNibName:@"MainView" bundle:nil];
	
	self.mainController = main;
	
	NSLog(@"Controller Main associato");
	
	
    [window addSubview:main.view];
	
	
    [window makeKeyAndVisible];
	
}


- (void)dealloc {
    [mainController release];
	[window release];
    [super dealloc];
}


@end
